home *** CD-ROM | disk | FTP | other *** search
- 24 february 1993
-
- This archive contains the following items for an
- ISO 7185 PASCAL compiler:
- - scanner pascal.scan
- - parser pascal.grammar
- - abstract-tree definition pascal.abs
- - parser code to generate the abstract tree pascal.2cg
- pascal.pum
- - Code to do semantic evaluation of the AST pascal.sem
- defs.{abs.imp}
- deftype.puma
- - Code to execute a simple Xref on the AST pasxref.imp
- defsxref.pum
- - and several auxilary files.
-
- - A very trivial manual page.
-
- a makefile which can generate:
- scan-test Exercise the pascal scanner
- pars-test idem for the parser
- tree-test generate the tree
- sem-test execute the semantic evaluation
- pascal Do all that is currently available
-
- Note that this release should still be considered an alpha release.
- Also should be noted that this 'compiler' only generates an attributed
- tree and a symbol-table. currently NO code is generated.
-
- Also available are sample short pascal files which can be used a tests
- for the compiler. Unfortunately are these files mostly correct pascal
- and thus only show that the compiler is accepting correct pascal,
- it doesn't show which input are incorrectly accepted. If anybody knows of
- a set of files with incorrect semi-pascal, please let me know
- Look for these in the same directory where you found this archive.
- Or else: ftp.eb.ele.tue.nl:/pub/src/pascal/pastest*
-
- Furthermore would I like to be informed when people are finding
- - Errors
- - Enhancements
- - Additional questions which should be answered in the documentation
- - ......
-
- IMPROVEMENTS over the 23 november 1992 release:
-
- - The semantics code seems to be complete, a few minor errors are
- there, but are documented in the file bugs.tex
-
- - Two additional modules are added and can be used as skeletons for
- further expansions: Crossreferencing and storage allocation
-
- - The manual/documentation has its first "complete" release, and even
- contains examples of expanding the frontend to recognise a larger
- extended PASCAL
-
- - You should now be able to compile/run on OS/2 2.0 using EMX.
- For this you'd also need several of the GNU utilities, Perl, and patch.
- But then if you're interested in this compiler on OS/2, these will
- be worth your while.
-
- Future plans:
-
- Add more extensions to the PASCAL language, first and most important will
- be TurboPascal.
- Remove bugs.
-
- Use BEG (another usefull tool from GMD, unfortunatelly is it not free)
- and generate backends for several processors. (including the i386)
-
- Installation:
-
- Not much of an installation.
- But you are 'required' to have the following tools online:
- - from Cocktail: rex, rpp, lalr, cg, puma
- ( Cocktail can be found at ftp.eb.ele.tue.nl:/pub/src/cocktail )
- - Perl, since several scripts are made in this handy tool
- - Patch, from the same author (Larry Wall) to (re)process once made
- modifications.
- unzip 1.9 to unpack the archive.
-
- All available at many sites.
-
- Once you've got the archive unpacked, just update the path of your
- Cocktail/GMD tools and type 'make pascal'
-
- To create the documentation LaTeX is required with the epsf-macros.
- To be able to print the picture, you'll need a PostScript printer.
-
- Willem Jan Withagen
-
- Digital Information Systems Group, Room EH 10.35
- Eindhoven University of Technology
- P.O. 513 Tel: +31-40-473401,Fax: +31-40-448375
- 5600 MB Eindhoven The Netherlands
- Internet: wjw@eb.ele.tue.nl
- X400: C=nl;ADMD=400net;PRMD=surf;O=tue;OU=ele;OU=eb;S=WJW;
-